// app.js
App({
  onLaunch() {
    this.preLoad();
  },
  preLoad() {
    const root = wx.getStorageSync('root');
    this.globalData.root = root;
  },
  globalData: {
    prevPage: null,
    editState: true,
    root: false
  }
})
